package ro.prjmanager.core.context;


import ro.prjmanager.core.usr.UserSession;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;
import java.util.Locale;

/**
 * WebContext.java Copyright (c) 2009 Teamnet. All Rights Reserved. This source file may not be
 * copied, modified or redistributed, in whole or in part, in any form or for any reason, without
 * the express written consent of Teamnet.
 */
public interface WebContext<U,P,S,D,SC> {

    public HttpSession getSession();

    public HttpSession getSession(boolean create);

    public HttpServletRequest getRequest();

    public HttpServletResponse getResponse();

    public Locale getLocale();

    public UserSession<U,P,S,D,SC> getUserSession();
}
